<template>
  <h1>PSI应用平台</h1>
  <t-form ref="form" scroll-to-first-error="auto">
    <t-form-item label="用户名" name="name">
      <t-input v-model="formData.name" borderless></t-input>
    </t-form-item>
    <t-form-item label="密码" name="password">
      <t-input v-model="formData.password" borderless type="password" :clearable="false">
        <template #suffixIcon>
          <BrowseOffIcon />
        </template>
      </t-input>
    </t-form-item>
  </t-form>
</template>

<script lang="ts" setup>
import { reactive } from 'vue';
const formData = reactive({
  name: '',
  password: '',
});
</script>
